<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="com.pojo.OUser"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
		String list = (String)request.getAttribute("list"); 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd 

">

<html>
<head>
 <base href="<%=basePath%>">   
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>太原金属交易中心</title>      
  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">    
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="Assets/css/reset.css"/>
<script type="text/javascript" src="Assets/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="Assets/js/js_z.js"></script>
<link rel="stylesheet" type="text/css" href="Assets/css/thems.css">
</head>
<script type="text/javascript">
$(document).ready(function() {
	fun();
});
</script>
<script type="text/javascript">
function fun(){
	//查看兑换明细
	var list = <%=list%>;
	console.log(list);
	var html="";
	var a=0;
	for(var i in list){
		a++;
	}
	//alert(a);
	$('#ssss1').html(a);
	$('#ssss2').html(a);
	var mast =5;
	if(list.length<5){
		mast=list.length;
	}
	for(var i=0;i<mast;i++){
		html+='<tr><td>'+list[i].obv+'</td><td>'+list[i].wprice+'</td></tr>';
	}
	$('#table').html(html);

}

</script>
<body>
 
<!--头部-->
 <div class="h_top">
	<div class="h_top_m">
        欢迎来到商品交易大厅网
        <span>
        	<a href="login.html">立即登陆</a> 
        </span>
    </div>
</div>
<!--顶部-->
<!--头部-->
<div class="header clearfix">
    <div class="logo"><a href=""><img src="Assets/images/logo.png" alt="网"/></a></div>
    <div class="tel"><!--img src="Assets/images/tel.png" alt="400-168-0000"--></div>
</div>
<div class="nav_bg">
	<ul class="nav clearfix">
        <li class="now"><a href="index.html">首页</a></li>
		  <li><a href="nobypt.html">商品交易</a></li>
        <li><a href="login.html">我的账户</a></li>
    </ul>
</div>
<!--头部-->
 
<div class="banner banner_a">
	<img src="Assets/upload/banner_a.jpg" alt="白银平台"/>
</div>
<!--幻灯片-->
<div class="space_hx">&nbsp;</div>
<!--当前位置-->
 <div class="position">
	<span>您当前的位置：</span>
    <a href="index.html">首页</a>>
    <a href="nobypt.html">平台交易</a>>
 </div>
<!--当前位置-->
<div class="space_hx">&nbsp;</div>

<div class="second">
	<div class="by_d">
    	<dl class="by_da clearfix">
        	<dt>
            	<img src="Assets/upload/pic3.jpg" alt=""/>
                <div class="name">
                	<span>交易大厅</span>
                    <em>&nbsp;</em>
                </div>
                <div class="btn">
                	<a href="login.html" class="bg_r">我要买入</a>
                    <a href="login.html" class="bg_y">我要卖出</a>
                </div>
            </dt>
            <dd>  
            	<h3>当前商品价格.98</h3>
                <table border="0" cellpadding="0" cellspacing="0">
                
				  <tr>
                 <td><em class="yelow">累计成交：</em><a id="ssss1"></a> </td>
                 <td><em class="yelow">累计出售：</em><a id="ssss2"></a></td>
                  </tr>
                  <tr>
                    <td><em class="yelow">手续费：</em>当前手续费0.3%</td>
                    <td><em class="yelow">最低交易：</em>100商品</td>
                  </tr>
                </table>
				<p> </p>
            </dd>
            <table><tr>
					<td> <a href="<%=basePath%>selectwtdprice.html?id=1"><img src="Assets/images/aa.jpg" height="150" width="140"></td>
					<td> <a href="<%=basePath%>selectwtdprice.html?id=2"><img src="Assets/images/20171130205911.jpg" height="150" width="140"></td>
					<td> <a href="<%=basePath%>selectwtdprice.html?id=3"><img src="Assets/images/20171201084931.jpg" height="150" width="140"></td>
					<td> <a href="<%=basePath%>selectwtdprice.html?id=4"><img src="Assets/images/20171130210021.jpg" height="150" width="140"></td>
					</tr></table>
        </dl>
        <div class="space_hx">&nbsp;</div>
        <div class="by_db">
        	<div class="tabBox_t">
			<div class="tabBox">
                  <ul class="tabNav">
                    <li class="now"><span>大厅当前出售记录</span></li>
                   </ul>
                  <div class="tabCont" style="display:block;">
                    <table width="100%" class="Transaction1">
		    <thead>
              <tr>
                <th scope="col">成交数量</th>
                <th scope="col">成交金额</th>
              </tr>
              </thead>
		       <tbody id="table">

				  </tbody>
		    </table>  
                  </div>
                 
                </div>
            </div>
        </div>
    </div>
</div>
<div class="space_hx">&nbsp;</div>
 <div class="space_hx">&nbsp;</div>
<div class="f_nav_bg">
	<dl class="f_nav clearfix">
    	<dt><img src="Assets/images/tel.png"  /></dt>
        <dd>
            <div class="tip" style="float:left; width:200px;">
            <span style="font-size:16px;">商品团队</span>
			<li>太原金属企业站</li> <li> 太原金属商城</li>  <li>太原金属会员网</li> 	 
            </div>
            
         <div class="tip" style="float:left; width:200px;">
            <span style="font-size:16px;">服务帮助</span>
			 
 <li><a href="news.html?classid=4">为什么选择我们</a></li>
 
 <li><a href="news.html?classid=3">网站声明</a></li>
 
 <li><a href="news.html?classid=2">公司公告</a></li>
 
 <li><a href="news.html?classid=1">行业动态</a></li>
  	 
            </div>
		  
           <div class="tip">
            <p> 交易大厅</p>
<p>&nbsp;</p>   	 
            </div>  
   
           
            
        </dd>
    </dl>  <div class="copyriht">
    	版权解释权归太原金属所有    
    </div></div>
</body>
</html>
